package com.hst.capacity.domain.model.request.intercity;

import com.hst.capacity.domain.model.request.PageParam;
import com.hst.capacity.infra.util.StringUtil;
import lombok.Data;
import org.apache.ibatis.type.Alias;

import java.util.List;

@Data
@Alias("icListNewParam")
public class IcListNewParam extends PageParam {

    private String idFranchisee;
    private String idLine;
    private String orderStatus;
    private String orderSources;
    private String payStatus;
    private String regionCodes;
    private String creatTimeF;
    private String creatTimeE;
    private String appointmentTime;

    private String orderStatusArr;
    private String payStatusArr;
    private String idLineArr;
    private int subBizType;
    private List<String> idLineList;

    public void setIdLineList() {
        this.idLineList = StringUtil.StringToList(this.idLineArr);
    }

    private String appointmentTimeE;
    private String appointmentTimeF;
    // 特殊条件
    private Integer hourRange;

    private String idOrder;
    private String externalOrderId;

}
